//
//  HMSessionManger.h
//  weibo
//
//  Created by apple on 2016/11/17.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>
//#import <YYModel.h>

typedef enum : NSUInteger {
    GET,
    POST
} httpMethod;

@interface HMSessionManger : AFHTTPSessionManager

+(instancetype)shared;

-(void)requestMethod:(httpMethod)method urlString:(NSString *)urlString parameters:(id)parameters finishedBlock:(void(^)(id,NSError*))finishedBlock;

@end
